package com.sugon.lambda;



public class TestLambda1 {

	public static void main(String[] args) {
		
		// ()->void
		Thread t = new Thread(new Runnable(){
			public void run(){
				System.out.println("hello");
			}
		});
		Thread t2 = new Thread(()->System.out.println("hello"));

	}

}




